package com.prs.crm.domain.cqunicom;

import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.ManyToOne;
import javax.persistence.Table;

import com.prs.crm.domain.BaseEntity;

/**
 * @author LanXiaoGang
 * @E-mail:lan9liang@163.com
 * @qq:7857553326
 * @version 创建时间：2011-3-17 上午11:37:40 简单说明 服务名称和商家中间表
 */
@Entity
@Table(name = "cq_MidBusinessOrder")
public class MidBusinessOrder extends BaseEntity {

	@Id
	@GeneratedValue(strategy = GenerationType.IDENTITY)
	private Integer id;

	/**
	 * 服务名称ID
	 */
	@ManyToOne
	private Services servicesm;
	/**
	 * 商家ID
	 */
	@ManyToOne
	private Company companym;

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Services getServicesm() {
		return servicesm;
	}

	public void setServicesm(Services servicesm) {
		this.servicesm = servicesm;
	}

	
	public Company getCompanym() {
		return companym;
	}

	public void setCompanym(Company companym) {
		this.companym = companym;
	}


}
